<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
</head>

<body>
<h1 id="idbiaoti" name="mingzibiaoti">这是标题标签</h1>
<h1>werty</h1>
<img src="../Coffee商城/t1.png">
<script type="text/javascript">
var w =new Array();
    w[0]="../Coffee商城/t3.jpg";
	w[1]="../Coffee商城/t4.jpg";
	w[2]="../Coffee商城/t1.jpg";
var y ="../Coffee商城/t2.jpg";
var z ="../Coffee商城/t3.jpg";
var x =document.getElementsByTagName("img")
    x[0].src="../Coffee商城/t2.jpg"
/*var x =document.getElementsByTagName("h1")
    x[0].style.color="red" 
	x[1].style.color="blue"*/
/*var x =document.getElementsByName("mingzibiaoti")
    x[0].style.color="red"*/
/*var x =document.getElementById("idbiaoti")
    x.style.color="red"
	x.innerHTML="这是修改的h1"*/
</script>

</body>
</html>
